<h3>Change password</h3>

<%= form_for :user, :url => {:action => "change_password"} do |f| %>

<label for="user_password">Choose password:</label><br/>
<%= password_field "user", "password", :size => 20, :value=>"" %><br/>

<label for="user_password_confirmation">Confirm password:</label><br/>
<%= password_field "user", "password_confirmation", :size => 20, :value=>"" %><br/>

<%= submit_tag "Submit" %>

<% if flash[:notice] != nil %>
	<%= flash[:notice] %>
<% end %>

<% if flash[:warning] != nil %>
	<%= flash[:warning] %>
<% end %>

<% end %>